package com.yuanfeng.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanfeng.business.dto.ShopSupplierDTO;
import com.yuanfeng.business.entity.ShopSupplierEntity;
import com.yuanfeng.commoms.util.ResponseResult;

/**
 *
 */
public interface ShopSupplierService extends IService<ShopSupplierEntity> {

    /**
     * 新增或更新自销产品供货商
     *
     * @param param
     * @return
     */
    ResponseResult addShopSupplier(ShopSupplierDTO param);


    /**
     * 删除自销商品供应商
     *
     * @param param
     * @return
     */
    ResponseResult delShopSupplier(ShopSupplierDTO param);


    /**
     * 查询自销商品供应商列表
     *
     * @param param
     * @return
     */
    ResponseResult queryShopSupplierList(ShopSupplierDTO param);
}
